home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d27
/
rpgf_pc2.exe
/
TSTOUT.RPF
< prev
next >
Wrap
Text File
|
1991-01-31
|
816b
|
34 lines
/HEADER
H* TSTIN.RPG -- Test standard RPG input file
H*
H* Note this is not a compilable RPG III program
H* It just generates a file for comparison with TSTOUT.RPF
/FILE
F*
FDAINFO IF F 132 DISK
FMODDTA CF E WORKSTN
F RRN1 KSFILE SFLREC1
F KINFDS WRKSTN
F*
/INPUT
I* Data area information file (4 record types)
IDAINFO NS 21 1 CR 5 CM
I 15 35 DAQNAM
I
/CALC
y = 4
FOR x = 4 1
IF wrk1,x <> ' '
MOVE wrk1,x wrk2,y --Move the element
y = y - 1
ENDIF
ENDFOR -1
SETON RESULT(01 02 03)
READPE *N filea RI2(98) RI3(99)
UPDATE filea
/DATA
**
CHGDTAARA DTAARA( ( )) VALUE('
**
|END|********